﻿/**
 * 佈告欄
 * 
 * (1) 請在GridView外，包一層<div class="announcement"></div>
 * (2) 在GridView中的<asp:TemplateField>設定，ItemStyle-CssClass="..."
 */
div.announcement
{
    margin: 3px 0px 3px 0px;
    background: white;
    border: 1px solid gray;
    min-height: 500px;
}

.announcement table
{
    border: 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 30px;
}

.announcement td,
.announcement th
{
    border:0;   
    padding: 5px;
    border-top:none;
    border-bottom:thin dotted #0000ff;
}

.announcement .category
{
    text-align:left; 
    width:80px;
}
.announcement .date
{
    text-align:left; 
    width:240px;
}
.announcement .subject
{
    text-align:left; 
}